<pre class="docs-method-signature"><code>rect.pointNearestToPoint(p)</code></pre>
<p>Return the point on the boundary of the rectangle nearest to the point <code>p</code>.</p>
